package example.day10;

public class Hero {
    public int coinPrice;

    public Hero(){
        this.coinPrice = 10;
    }

    public void setCoinPrice(int coinPrice){
        this.coinPrice = coinPrice;
    }

    public int getCoinPrice(){
        return this.coinPrice;
    }

    public void set(int c){
        this.coinPrice = c;
    }

}
